package com.booza.constants;

public interface SessionConstants
{
	/**
	 *  Logged in user's info is stored in session under this name.
	 */
	public static final String USER_SESSION_PARAM = "logged_in_user";

	/**
	 *  Logged in user's name is stored in session under this name.
	 */
	public static final String USER_NAME_SESSION_PARAM = "logged_in_user_name";

	/**
	 *  Account ID session parameter.
	 */
	public static final String ACCOUNT_ID = "booza_account_id";

	/**
	 *  User's time zone.
	 */
	public static final String ACCOUNT_TIME_ZONE = "booza_account_time_zone";
	
	/**
	 *  User's time zone in GMT.
	 */
	public static final String ACCOUNT_TIME_ZONE_GMT = "booza_account_time_zone_gmt";
	
	/**
	 *  User's time zone.
	 */
	public static final String ACCOUNT_TIME_ZONE_ID = "booza_account_time_zone_id";

	/**
	 *  Used by the pagination action classes.
	 */
	public static final String PAGE_RESULTS_SESSION_PARAM = "page_results";

	/**
	 *  Action message parameter.
	 */
	public static final String ACTION_MESSAGE_PARAM = "action_message";
	
	/**
	 *  Action error parameter.
	 */
	public static final String ACTION_ERROR_PARAM = "action_error";

	/**
	 * Invite links parameter.
	 */
	public static final String PROCESS_INVITE_LINKS_PARAM = "process_invites";

	/**
	 *  The time zone persistent cookie name.
	 */
	public static final String PERSISTANT_TIMEZONE_COOKIE_NAME = "persistant_timezone_offset";
	
	/**
	 *  The selected game.
	 */
	public static String SELECTED_GAME = "selected_game";
	
  /**
   *  The selected game.
   */
	public static String SELECTED_GAME_NAME = "selected_game_name";

	/**
	 *  The selected tournament.
	 */
	public static String SELECTED_TOURNAMENT = "selected_tournament";

	/**
	 *  The selected league.
	 */
	public static String SELECTED_LEAGUE = "selected_league";
	
  /**
   *  The current league duration.
   */
	public static String LEAGUE_DURATION = "league_duration";
	
	/**
	 *  Parameter which holds the entries per page preferred by the user.
	 */
	public static final String ENTRIES_PERPAGE_PARAM = "entries_per_page";
	
  /**
   *  Parameter which holds the entries per page preferred by the user for the ranking page.
   */
	public static final String ENTRIES_PERPAGE_RANKING_PARAM = "entries_per_page_ranking";
	
  /**
   *  Parameter which holds the entries per page preferred by the user for the full lists.
   */
	public static final String ENTRIES_PERPAGE_FULL_LIST_PARAM = "entries_per_page_full_list";			
	
	/**
	 *  Parameter which holds the entries per page preferred by the user. (stored in the database)
	 */
	public static final String ENTRIES_PERPAGE_PARAM_PREF = "entries_per_page_user";
	
	/**
	 *  The value of the credits purchased.
	 */
	public static final String PAYMENT_AMOUNT = "wirecard_amount";
	
	/**
	 *  The type of credit card used for the Wirecard purchase.
	 */
	public static final String PAYMENT_TYPE = "wirecard_payment_type";
	
	/**
	 *  This is adding credits or withdrawing credits
	 */
	public static final String PAYMENT_ACTION = "wirecard_payment_action";
	
	/**
	 *  Session variable for storing card detail
	 */
	public static final String CARD_DETAIL = "credit_card_detail";
	
	/**
	 *  The Transaction type see {@link TransactionType}.
	 */
	public static final String TRANSACTION_TYPE = "transaction_type";
	
	/**
	 *   3D Secure payment values
	 */
	public static final String THREE_D_SECURE_PARAMS = "params3d";
}
